diff -p -up pidgin-2.7.0/configure.ac~ pidgin-2.7.0/configure.ac
--- pidgin-2.7.0/configure.ac~	2010-05-13 22:24:35.000000000 +0200
+++ pidgin-2.7.0/configure.ac	2010-05-13 22:28:11.000000000 +0200
@@ -1522,7 +1522,7 @@ dnl # Check for Mono support
 dnl #######################################################################
 AC_ARG_ENABLE(mono, [AC_HELP_STRING([--enable-mono], [compile with Mono runtime support (experimental)])], , enable_mono=no)
 if test x"$enable_mono" = x"yes" ; then
-	PKG_CHECK_MODULES(MONO, mono, [
+	PKG_CHECK_MODULES(MONO, mono glib-2.0 gthread-2.0, [
 		AC_SUBST(MONO_CFLAGS)
 		AC_SUBST(MONO_LIBS)
 		enable_mono=yes
diff -p -up pidgin-2.7.0/libpurple/plugins/mono/loader/status-glue.c~ pidgin-2.7.0/libpurple/plugins/mono/loader/status-glue.c
--- pidgin-2.7.0/libpurple/plugins/mono/loader/status-glue.c~	2010-05-12 06:36:11.000000000 +0200
+++ pidgin-2.7.0/libpurple/plugins/mono/loader/status-glue.c	2010-05-13 22:33:45.000000000 +0200
@@ -1,3 +1,4 @@
+#include <glib.h>
 #include "status.h"
 #include "mono-helper.h"
 #include "mono-glue.h"
